using System;

namespace MinimalistFoodStreet.BackEnd.Infrastructure.Dtos.Response.Tables
{
    public class ResponseGoodsDto
    {
        /// <summary>
        /// 编号
        /// </summary>
        public int id { get; set; }

        /// <summary>
        /// 供应商(引用supplier)
        /// </summary>
        public int supplierId { get; set; }
        /// <summary>
        /// 供应商店铺名称
        /// </summary>
        public string supplierShopName { get; set; }
        /// <summary>
        /// 商品类别（引用dictionarys）
        /// </summary>
        public int goodTypeId { get; set; }
        /// <summary>
        /// 商品类别名称
        /// </summary>
        public string goodTypeName { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string name { get; set; }

        /// <summary>
        /// 商品价格
        /// </summary>
        public decimal price { get; set; }
        /// <summary>
        /// 商品评价评分
        /// </summary>
        public double? rate { get; set; }
        /// <summary>
        /// 商品优惠价格
        /// </summary>
        public decimal? promotePrice { get; set; }

        /// <summary>
        /// 产品描述
        /// </summary>
        public string description { get; set; }

        /// <summary>
        /// 封面图片
        /// </summary>
        public string photo { get; set; }

        /// <summary>
        /// 详情图片
        /// </summary>
        public string detailImages { get; set; }

        /// <summary>
        /// 商品规格
        /// </summary>
        public string specs { get; set; }

        /// <summary>
        /// 是否直营
        /// </summary>
        public int isDirectly { get; set; }

        /// <summary>
        /// 是否上架
        /// </summary>
        public int isShelve { get; set; }

        /// <summary>
        /// 库存
        /// </summary>
        public int inventory { get; set; }

        /// <summary>
        /// 生产日期
        /// </summary>
        public DateTime birthday { get; set; }

        /// <summary>
        /// 生产日期字符串
        /// </summary>
        public string birthdayStr { get; set; }
        /// <summary>
        /// 保质期
        /// </summary>
        public int expiryday { get; set; }

        /// <summary>
        /// 是否促销
        /// </summary>
        public int isPromote { get; set; }

        /// <summary>
        /// 置顶级别（越大的排在越前面）
        /// </summary>
        public int topLevel { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime createTime { get; set; }

        /// <summary>
        /// 创建时间字符串
        /// </summary>
        public string createTimeStr { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? updateTime { get; set; }

        /// <summary>
        /// 修改时间字符串
        /// </summary>
        public string updateTimeStr { get; set; }
        /// <summary>
        /// 总销量
        /// </summary>
        public int saleCountSum { get; set; }
        /// <summary>
        /// 7天总销量
        /// </summary>
        public int saleCount7Sum { get; set; }
        /// <summary>
        /// 30天总销量
        /// </summary>
        public int saleCount30Sum { get; set; }

    }
}